package com.example.order.dto;

import java.math.BigDecimal;

public class OrderRequest {
    private String userId;
    private String productId;
    private BigDecimal amount;

    // Getters and Setters
    public String getUserId() { return userId; }
    public void setUserId(String userId) { this.userId = userId; }
    public String getProductId() { return productId; }
    public void setProductId(String productId) { this.productId = productId; }
    public BigDecimal getAmount() { return amount; }
    public void setAmount(BigDecimal amount) { this.amount = amount; }

    public OrderRequest(String productId, String userId, BigDecimal amount) {
        this.productId = productId;
        this.userId = userId;
        this.amount = amount;
    }
}
